import http from '@/utils/request'


export function getShopAds() {
	return http.get('/shop/ad/list')
}

export function addShopAd(param) {
	return http.post('/shop/ad/add', param)
}

export function deleteShopAd(param) {
	return http.delete('/shop/ad/delete', param)
}

export function getShopLotteryUrl() {
	return http.get('/shop/market-url/lottery')
}

export function saveShopLotteryUrl(param) {
	return http.post('/shop/market-url/lottery/save', param)
}
